<!-- 我的个人中心页面:  ty -->

<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">            <!-- 引入thymeleaf约束 -->
<html>
    <head lang="en">
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
        <meta name="apple-mobile-web-app-capable" content="yes" />
        <meta name="apple-mobile-web-app-status-bar-style" content="black" />
        <link rel="stylesheet" href="css/mall.css" type="text/css" />
        <title>个人中心</title>
   
 <style th:inline="css">
 	#rolename {
	    border-radius: 100%;
	    color: #fff;
	    background:[[${color}]] ;
	    font-size: .7rem;
	    width: 18px;
	    height: 18px;
	    display: block;
	    font-style: normal;
	    text-align: center;
	    line-height: 18px;
	    margin-left: 85px;
	}
</style>
  
   
   
    </head>
	
	
    <body class="body_color_user">
        <div class="mall_main">
            <div id="child_header">
                <div class="goback"><a href="/chat/main"><i></i></a></div>
                <div class="current_location"><span>个人中心</span></div>
            </div>
            <div class="wx_wrap">
                
                    <div class="person_top">
                        <img class="top_bj" >
                        <div class="per_con">
                            <div class="user_photo">
                            <a href="./user_info">
                                <img src="images/user_photo.jpg" th:src="@{./{filename}(filename=${user.user_headimg})}" >
                            </a>
                                <span id="rolename">[[${rolename}]]</span>
                            </div>
                            <div class="name_right">
                                <p class="p1">&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;<b><label th:text="${user.user_name}"></label></b> &nbsp;&nbsp;&nbsp;<label  th:text="${user.user_nickname}" style="font-size: small"></label></p>
                              
                                <span><a href="./follow.html">关注</a>：<label th:text="${myFollow}"></label></span> &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
                                <span><a href="./fans.html" th:href="@{./fans.html(id=${user.user_id})}">粉丝</a>：<label th:text="${followMe}"></label></span>
                               <br>
                               <br>
                               <p id="coachsocre">综合评分:<label th:text="${score}"></label><P>
                            </div>
                        </div>
                    </div>
               
   		
                <ul class="menu_list"> 
                    
                    <li class="tiao" ><a href="/chat/wallet" >我的钱包</a></li>
					<li class="tiao" ><a href="/chat/allOrder">我的订单</a></li>
					<li class="tiao" ><a href="#">我的课程</a></li>
					<li class="tiao" ><a href="/chat/coachApprove">教练认证</a></li>
					<li class="tiao" id="mystudent" ><a href="./mystudent.html">我的学员</a></li>
					<li class="tiao"  id="myvenue"><a href="/chat/signvenue">签约场馆</a></li>
					
					
                    <li class="tiao"><a href="./account_security.html">账号安全</a></li>                              
					<li class="tiao"><a href="./site.html">设置</a></li>
                </ul>

            </div>

            <ul class="wx_nav">
        
		
            </ul>
        </div>
  <script src="/chat/js/jquery.min.js"></script>
  <script type="text/javascript"> 
  $(function(){
  var aaa =  $("#rolename").html();
  if(aaa=="学"){	  
		$("#coachsocre").remove();
		$("#mystudent").remove();
		$("#myvenue").remove();
		
 	 }
  })
  </script>
  

  </body>
</html>
